package com.hns.can.base.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 操作日志实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_OPERATE_LOG")
public class SysOperateLogEntity extends BaseEntity{
    
    // Fields
    
    @Id
    @Column(name = "LOG_ID")
    private String     logId;
    
    @Column(name = "CORP_ID")
    private String     corpId;
    
    @Column(name = "OPR_ID")
    private String     oprId;
    
    @Column(name = "MNPLT_TYPE")
    private String     mnpltType;
    
    @Column(name = "MNPLT_FUNC")
    private String     mnpltFunc;
    
    @Column(name = "MNPLT_CONT")
    private String     mnpltCont;
    
    @Column(name = "MNPLT_TIME")
    private Date       mnpltTime;
    
    @Column(name = "MNPLT_URL")
    private String     mnpltUrl;
    
    @Column(name = "MNPLT_DURA")
    private BigDecimal mnpltDura;
    
    @Column(name = "IP_ADR")
    private String     ipAdr;
    
    @Column(name = "MAC_ADR")
    private String     macAdr;
    
    @Column(name = "SYSTEM_ID")
    private String 	   systemId;
    
    @Transient
    private String     acctName;
    
    @Transient
    private String     userName;
    
    @Transient
    private String     mnpltFuncName;
    
    @Transient
    private String     smnpltTime;   // 操作时间
                                      
    @Transient
    private String     smnpltDura;   // 操作时长
    
    @Transient
    private String     corpName;   // 操作时长
    
    @Transient
    private String	   ipLocation; 	//ip所在区域
                                      
    // Constructors
    
    /** default constructor */
    public SysOperateLogEntity() {
    }
    
    // Property accessors
    public String getLogId() {
        return this.logId;
    }
    
    public void setLogId(String logId) {
        this.logId = logId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOprId() {
        return this.oprId;
    }
    
    public void setOprId(String oprId) {
        this.oprId = oprId;
    }
    
    public String getMnpltType() {
        return this.mnpltType;
    }
    
    public void setMnpltType(String mnpltType) {
        this.mnpltType = mnpltType;
    }
    
    public String getMnpltFunc() {
        return this.mnpltFunc;
    }
    
    public void setMnpltFunc(String mnpltFunc) {
        this.mnpltFunc = mnpltFunc;
    }
    
    public String getMnpltCont() {
        return mnpltCont;
    }

    public void setMnpltCont(String mnpltCont) {
        this.mnpltCont = mnpltCont;
    }

    public Date getMnpltTime() {
        return this.mnpltTime;
    }
    
    public void setMnpltTime(Date mnpltTime) {
        this.mnpltTime = mnpltTime;
    }
    
    public String getMnpltUrl() {
        return this.mnpltUrl;
    }
    
    public void setMnpltUrl(String mnpltUrl) {
        this.mnpltUrl = mnpltUrl;
    }
    
    public BigDecimal getMnpltDura() {
        return this.mnpltDura;
    }
    
    public void setMnpltDura(BigDecimal mnpltDura) {
        this.mnpltDura = mnpltDura;
    }
    
    public String getIpAdr() {
        return this.ipAdr;
    }
    
    public void setIpAdr(String ipAdr) {
        this.ipAdr = ipAdr;
    }
    
    public String getMacAdr() {
        return this.macAdr;
    }
    
    public void setMacAdr(String macAdr) {
        this.macAdr = macAdr;
    }
    
    public String getAcctName() {
        return acctName;
    }
    
    public void setAcctName(String acctName) {
        this.acctName = acctName;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public String getMnpltFuncName() {
        return mnpltFuncName;
    }
    
    public void setMnpltFuncName(String mnpltFuncName) {
        this.mnpltFuncName = mnpltFuncName;
    }
    
    public String getSmnpltTime() {
        return smnpltTime;
    }
    
    public void setSmnpltTime(String smnpltTime) {
        this.smnpltTime = smnpltTime;
    }
    
    public String getSmnpltDura() {
        return smnpltDura;
    }
    
    public void setSmnpltDura(String smnpltDura) {
        this.smnpltDura = smnpltDura;
    }

	public String getCorpName() {
		return corpName;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}

	public String getSystemId() {
		return systemId;
	}

	public void setSystemId(String systemId) {
		this.systemId = systemId;
	}

	public String getIpLocation() {
		return ipLocation;
	}

	public void setIpLocation(String ipLocation) {
		this.ipLocation = ipLocation;
	}
    
}
